package net.liteheaven.xplugin.demoplugin;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import net.liteheaven.xblib.plugin.XProxyActivity;

/**
 * 插件首页
 * Created by LiangYu on 16/8/29
 */
public class PluginHomeActivity extends XProxyActivity {

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_plugin_home);
        findViewById(R.id.tv_to_plugin_detail).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                startActivity(new Intent(v.getContext(), PluginDetailActivity.class));
            }
        });
    }
}
